Gate comparator

ABSTRACT

A gate comparator control panel, in accordance with the subject invention, allows a user to define up to four different gate regions that may exist on any of the live waveforms, maths waveforms, or REF waveforms. A menu for each gate controls the position of each gate and selects the source for the signal that is to be gated. All gates must be the same width. A high level application copies the gated region of a waveform into a REF memory. For example, Gate  1  would go into REF  1,  gate  2  into REF 2  and so on. A user-settable tolerance value is used to determine if difference between the waveforms of the gates reaches a point at which a violation is indicated. A master gate position control causes all gates to move by the same amount, thus maintaining a constant distance between them. A master gate width control causes all gates to change width. Run, pause, and stop menu items are used to control how the gates automatically scan though the waveforms to which they are attached while maintaining constant spacing between them. A comparison is performed on a point-by-point basis between the signals of the gates.

FIELD OF THE INVENTION

[0001] The invention generally concerns test and measurement equipment, and specifically concerns processing of long record length data acquisitions in an oscilloscope or the like.

BACKGROUND OF THE INVENTION

[0002] Oscilloscopes capable of acquiring long record length acquisitions (i.e., typically from 8 Mbits to 64 Mbits) are known in the art. Unfortunately, the desirable long record length feature is also the source of a problem. Heretofore, there was no easy way to search through such a long record to locate an anomaly that may be present at some point in the acquired signal. For example, a visual search of a 32 Mbit record displayed at a rate of 500 points per second would take 17 hours. One doubts the ability of even the most patient of oscilloscope operators to maintain his attention for so long a time.

[0003] Some modem oscilloscopes are equipped with a printer, contained with its cabinet, for printing oscilloscope traces and data on a roll of paper. One might think that the solution to the above-described problem would be to merely print the long record length wave form out and then examine the paper trace. Unfortunately, calculations reveal that in order to print out even an 8 Mbit record would require a paper printout on the order of several miles long.

SUMMARY OF THE INVENTION

[0004] A gate comparator control panel, in accordance with the subject invention, allows a user to define up to four different gate regions that may exist on any of the live waveforms, maths waveforms, or REF waveforms. A menu for each gate controls the position of each gate and selects the source for the signal that is to be gated. All gates must be the same width. A high level application copies the gated region of a waveform into a REF memory. For example, Gate 1 would go into REF 1, gate 2 into REF2 and so on. A user-settable tolerance value is used to determine if difference between the waveforms of the gates reaches a point at which a violation is indicated. A master gate position control causes all gates to move by the same amount, thus maintaining a constant distance between them. A master gate width control causes all gates to change width. Run, pause, and stop menu items are used to control how the gates automatically scan though the waveforms to which they are attached, and to maintain constant spacing between them. A comparison is performed on a point-by-point basis between the signals of the gates.

BRIEF DESCRIPTION OF THE DRAWINGS

[0005]FIG. 1 is an illustration of a screen display showing two reference waveforms and a gate comparator control panel in accordance with the subject invention.

[0006]FIG. 2 is an illustration of a screen display showing two active gates and a gate comparator in operation in accordance with the subject invention.

[0007]FIG. 3 is an illustration showing that four gates may be defined on one or more waveforms in accordance with the subject invention.

[0008]FIGS. 4A and 4B are illustrations showing the gated regions of FIG. 3 after they have been copied into a reference memory in accordance with the subject invention.

[0009]FIG. 5 is an illustration of a gate comparator control screen in accordance with the subject viva invention.

[0010]FIG. 6 is a simplified high-level diagram of an oscilloscope suitable for use with the subject invention

DETAILED DESCRIPTION OF THE EMBODIMENT

[0011] The gate comparator to be described preferably is realized in JAVA® application software running on a Windows®—like operating system of a modem oscilloscope.

[0012]FIG. 1 is an illustration of a screen display 100 showing two reference waveforms in a waveform display area 110, and agate comparator control panel in a controls area 115. There are four selectable gate controls (i.e., a measurement window controls), Ref Gate, Gate 1, Gate 2, Gate 3, and Gate 4. Gate 1 is considered to be the reference gate Ref Gate. The control panel of FIG. 1 is used to set the working parameters for Ref Gate (and other gates Gate 2, Gate 3, Gate 4, if desired). The waveform display of FIG. 1 indicates that two gates are active, Gate 1 and Gate 2 producing reference waveforms R1 and R2, respectively.

[0013] This control screen has “soft keys” for Run 140, Stop 145, Pause 150, and Reset 155 functions, for controlling a “roll mode” that works like a standard tape deck control. Speed selection for the roll mode scan is also provided via and a control 160 for selecting step size.

[0014] “Roll mode” in this context means to move the gates through a stored waveform. Since each gate is sized to fit the display screen width, the waveform will move horizontally on the screen in the same manner as roll mode acquisition displays the data That is, after alignment of the gates on the two waveforms, both gates step through both waveforms in synchronism, doing the comparison on the fly. In this way, the comparison time is reduced from 17 hours to a matter of minutes.

[0015]FIG. 2 is an illustration showing the effect of turning-on the gate comparator. FIG. 2 shows the two reference waveforms R1 and R2 and display M1 of the gate comparison regions. When the gate comparator is turned-on, the value of the signal within all other active gates (i.e., other gates that are also turned-on) will be subtracted from value of the signal within Gate 1 on a point-by-point basis to produce a difference. This scanning process causes all gates to move together along a signal to maintain their constant space between them.

[0016] If the difference is greater than a user-settable comparator tolerance value, then a violation has occurred. The user is informed of violations. If a violation occurs while the gates are automatically being scanned, then the scan state will be set to pause and the gate will be positioned such that the point causing the violation will be in the center of the gate. Other indications may be used to show that violations occurred.

[0017] With respect to measurements and waveform math, the gated regions that are stored in REF memories (to be described later) may have measurements applied to them. In addition, they may be used within waveform math expressions. This feature is shown by the equation displayed at the bottom of the screen display of FIG. 2.

[0018]FIG. 3 shows that four gated areas may be defined on one or more waveforms. In this case, two gated areas are defined on each waveform. In this example, the defined gated areas Gate 1, Gate 2, Gate 3, and Gate 4, encompass signal anomalies that may be of interest to this particular user. The data within each gated region is copied into a reference memory within the oscilloscope. The user can choose the source waveform for each gate to reside on. Referring back to FIG. 1, note that the user can adjust the horizontal position of the gate on the chosen waveform by means of cursors controlled by slide controls 130, or by other means such as a knob. The user can also adjust the width of the gates via a gate width control.

[0019]FIGS. 4A and 4B are illustrations showing the gated regions of FIG. 3 after they have been copied into a reference memory in accordance with the subject invention. Note that only the gated portions of the data are stored in the reference memories. In this way, efficiency of measurements and waveform math is improved because only the data of interest is included in the measurement or math calculations.

[0020] It is important to note that the subject invention is suitable for general-purpose use by any operator working with long data records. However, this invention is particularly useful for directly addressing the needs of disk drive test engineers. For example, it is envisioned that a disk drive test engineer would typically store a known good PRML read channel signal into a REF 4 memory slot. Use of REF 1 for this purpose should be avoided because it is going to be used as the reference gate. Since we wish to apply a gate to this known good PRML signal in REF 4 we must turn off Gate 4 because its output normally goes into REF 4. Next, we set the source for Gate 1 to be REF 4. Next, we would set the source of Gate 2 to be channel 1 CH 1, which contains the read channel signal.

[0021] Assume that a trigger function has been properly set up and that the same pattern is being read from the disk drive as had been previously stored into REF 4. Note that the user can position Gate 1 on REF 4 and Gate 2 on CH 1 until they are properly aligned for comparison. To automatically compare the two waveforms, the gate comparator is then turned on and the run button is pressed. The user could also just scan through the data to visually compare the waveforms by turning the master position control for all the gates. In addition, the user is able to define measurements for the gated data in Gate 1 and Gate 2.

[0022] This gate comparator system when taken as a whole is unique in its organization of gating controls and functionality. Prior oscilloscopes do not have a single entity called a gate comparator as is described herein. Such prior oscilloscopes accomplish a somewhat gating-like feature by defining a math waveform. That is, the user is allowed to create zoom waveforms. Each one is stored into a waveform math slot, precluding the use of that slot for a math function. As a result, if four zoom waveforms are defined, they cannot then be used in waveform math functions. In contrast, the subject invention can utilize gating functions without tying-up the waveform slots, while preserving the ability to use math functions.

[0023] In the prior art oscilloscopes, in order to lock the gates together for scrolling and still maintain the horizontal offset between them that was dialed-in, the user must navigate to yet another menu. The subject application overcomes this difficulty by grouping all required controls on a single gate comparator control panel.

[0024] Some prior art oscilloscopes have a feature known as auto scroll. Auto scroll allows a user to cause the entire length of the data records to automatically scroll-by on the screen for a purely visual comparison by the user. The user can also adjust the speed at which the scrolling occurs. As noted above, when this auto scrolling is set to display at a rate of 500 points per second, a visual search of a 32 Mbit (megabit) record would take 17 hours. It is important to note that in the prior art long record length oscilloscopes, there is no automatic means for comparing the zoomed areas of the reference and “live” waveforms, as is described in the subject application. That is, the tolerance and compare features of the subject invention are not present in the prior art long record length oscilloscopes.

[0025] Another gate comparator control screen display is shown in FIG. 5. The features of this control screen are as follows. There is a control menu for each of four gates, Gate 1, Gate 2, Gate 3, and Gate 4. Each gate menu allows a user to choose a source waveform for the gate and a position for the gate on that waveform. In addition, there is an on/off control for each gate. This control screen also has soft keys for Run, Pause and Stop functions, for controlling a “roll mode” that works like a standard tape deck control. Speed selection for the roll mode scan is also provided via and a control for selecting step size.

[0026] It is envisioned that software trigger menus may form part of the gate comparator. In this way, the roll mode scroll may be set to stop on edges, for example. Other types of software trigger modes, such as runt trigger, can also be incorporated into the gate comparator menu system.

[0027] Note the controls placed along the top of the control screen of FIG. 5. These are Master Controls that affect the settings of all of the gates. That is, adjusting the Master gate Position control moves all gates by the same amount while maintaining constant spacing between them. Similarly, the Master width control controls the width of all gates, and a common tolerance can be applied to all gates via the Master Tolerance control.

[0028]FIG. 6 is a simplified block diagram of a modern digital oscilloscope 600 useful for practicing the subject invention. It includes an input 601 for acquiring a signal from a circuit under test. The “front end” includes Trigger Circuitry 605 for generating trigger signals to be applied to an Acquisition System 610. Acquisition System 610 acquires digital signal samples continuously, and in response to triggers signals, stores them in an Acquisition memory 615. Acquisition memory 615 supplies signal sample to Rasterizer 620 for processing, storage in raster memory 622, and eventual display. A more analog-like display is obtained by means of the arrangement of a Raster Combiner 625 and Raster Memories 630, 635 that permits graceful decay of the displayed signals. The output of this arrangement is displayed on a display screen 640 of the oscilloscope. The oscilloscope operates under control of two controllers, a process control 650, and a System controller 660. System controller 660 interfaces with the reference memories REF Memory 1 REF 1, REF Memory 2 REF 2, REF Memory 3 REF 3, and REF Memory 4 REF 4.

[0029] In operation, the data within a gate is moved to the corresponding REF memory in the oscilloscope on each acquisition update if the gate is on. For example, Gate 1 data is placed in REF 1 and Gate 4 data is placed in REF 4. This then does not waste the math waveform slots available, as is the case of the above-mentioned prior art long record length oscilloscopes. In addition, each REF memory can have a full set of measurements turned on. They may also be used in math waveform expressions.

[0030] The REF memory slots are more than just an easy place to store data to be displayed. Because the gate is sized to fit the window, one gets an automatic zoom to the screen width of the waveform content of the REF memory. If the gate is set to a fairly long record length, one may still not be able to easily discern an anomaly in the REF waveform. In such a case, one may set a zoom box on the REF waveform, and in effect, obtain a zoom on a zoom. The REF slots also serve to isolate data for waveform measurements, or waveform math applications. Moreover, the contents of the REF memories may be exported to data files, if desired.

[0031] What has been described is a desirable tool for use on all long record length oscilloscopes because it provides, for the first time a tool to easily analyze and deal with the huge amount of data contained in long records.

[0032] Although the gate comparator of the subject invention has been described as preferably being realized in JAVA® application software running on a Windows®—like operating system, the invention is not intended to be so restricted, and is intended to encompass hardware circuitry for performing the comparison functions described herein.

[0033] One skilled in the art will recognize that the subject invention is not limited to digital data, and is equally advantageous when used with analog data

[0034] The term “gate” as used herein is synonymous with the term “window” as applied to a viewing time slot superimposed upon a portion of a waveform.

[0035] It is herein recognized that the subject invention is useful in instruments other than an oscilloscope, such as a logic analyzer, or a spectrum analyzer. 

What is claimed is:
 1. A test and measurement instrument, comprising: circuitry for entering parameters to be used to detect violations of predetermined parameters; a data acquisition unit for acquiring a signal on a first channel; processing circuitry for processing said signal; display circuitry for displaying a waveform representation of said signal; a reference memory for storing a first reference waveform; comparing circuitry for repeatedly comparing said stored first reference waveform to portions of said signal for detecting the existence of one of said violations by moving said reference waveform along said signal in time; and circuitry for alerting a user when one of said violations is detected.
 2. The test and measurement instrument of claim 1, wherein: said comparison between said signal and said stored waveform occurs in real time as the signal is acquired.
 3. The test and measurement instrument of claim 2, wherein said reference memory stores a second reference waveform; and said comparing circuitry repeatedly compares said first and second reference waveforms to said portions of said signal for detecting one of said violations.
 4. The test and measurement instrument of claim 3, further including: circuitry for selecting portions of a reference signal under user control, and storing a first selected portion in said reference memory as said first reference waveform, or storing a second selected portion in said reference memory as said second reference waveform, or both.
 5. The test and measurement circuitry of claim 1, wherein: said predetermined parameters are defined by a user in terms of number of active gates, gate position, gate width, and tolerance.
 6. The test and measurement instrument of claim 1, further including: a signal memory for storing a long record length signal; and said signal is a long record length stored signal, and said comparison is a comparison between said long-record length stored signal and said waveform occurring as said long record length signal is read out from said signal memory.
 7. The test and measurement instrument of claim 4, wherein said reference memory stores a second reference waveform; and said comparing circuitry repeatedly compares said first and second reference waveforms to said portions of said long-record length stored signal for detecting one of said violations.
 8. The test and measurement instrument of claim 1, wherein said reference wave form is defined by positioning a gate on a reference signal, and said gate is positioned by user adjustment of a gate positioning control displayed on said display screen.
 9. The test and measurement instrument of claim 8, wherein said gate positioning control is a slider control displayed on said display screen.
 10. A method for comparing a stored waveform to a received signal, comprising the steps of: entering parameters to be used to detect violations of predetermined parameters; acquiring a signal on a first channel; processing said signal in processing circuitry; displaying a waveform representation of said signal on a display device; storing a first reference waveform in a reference memory; repeatedly comparing said stored first reference waveform to portions of said signal for detecting the existence of one of said violations by moving said reference waveform along said signal in time; and alerting a user upon detecting one of said violations.
 11. The method of claim 10, wherein: said step of repeatedly comparing occurs in real time as said signal is acquired.
 12. The method of claim 11, further comprising the steps of: storing a second reference waveform in said reference memory; and repeatedly comparing said first and second reference waveforms to said portions of said signal for detecting one of said violations.
 13. The method of claim 12, further including: circuitry for selecting portions of a reference signal under user control, and storing a first selected portion in said reference memory as said first reference waveform, or storing a second selected portion in said reference memory as said second reference waveform, or both.
 14. The method of claim 10, wherein: said predetermined parameters are defined by a user in terms of number of active gates, gate position, gate width, and tolerance.
 15. The method of claim 10, further including the steps of: storing said signal in a long record length signal memory, said signal being a long record length signal; reading out said long record length signal from said signal memory; and repeatedly comparing successive portions of said long record length stored signal to said waveform to detect one of said violations.
 16. The method of claim 15, further including the steps of: storing a second reference waveform in said reference memory; and repeatedly comparing said first and second reference waveforms to said successive portions of said long record length stored signal to detect one of said violations.
 17. The method of claim 8, and further including the step of: positioning a gate on a reference signal to define said reference wave form, said gate being positioned by user adjustment of a gate positioning control displayed on said display screen. 